package com.ebelter.bodyfatscale.moudules.https.response;


public class LoginResponse extends BaseResponse{


    /**
     * resultData : {"userId":"147cea36c42840dc9afe5ccd26bd5456","nickName":"zcq","email":"zengcq@ebelter.com","height":169,"weight":56.5,"birthday":"1991-06-12","sex":0,"profession":0,"impedance":0,"createDate":"2018-04-23 09:34:09","updateDate":"2018-04-24 09:57:16"}
     */

    private ResultDataBean resultData;

    public ResultDataBean getResultData() {
        return resultData;
    }

    public void setResultData(ResultDataBean resultData) {
        this.resultData = resultData;
    }

    @Override
    public String toString() {
        return "LoginResponse{" +
                "resultCode=" + resultCode +
                ", resultMessage='" + resultMessage + '\'' +
                ", resultData=" + resultData +
                '}';
    }

    public static class ResultDataBean {
        /**
         * userId : 147cea36c42840dc9afe5ccd26bd5456
         * nickName : zcq
         * email : zengcq@ebelter.com
         * height : 169
         * weight : 56.5
         * birthday : 1991-06-12
         * sex : 0
         * profession : 0
         * impedance : 0.0
         * createDate : 2018-04-23 09:34:09
         * updateDate : 2018-04-24 09:57:16
         * targetWeight 22.2
         */

        private long userId;
        private String nickName;
        private String email;
        private int height;
        private float weight;
        private String birthday;
        private int sex;
        private int profession;
        private float impedance;
        private String createDate;
        private String updateDate;
        private float targetWeight;

        public float getTargetWeight() {
            return targetWeight;
        }

        public void setTargetWeight(float targetWeight) {
            this.targetWeight = targetWeight;
        }

        public long getUserId() {
            return userId;
        }

        public void setUserId(long userId) {
            this.userId = userId;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }

        public float getWeight() {
            return weight;
        }

        public void setWeight(float weight) {
            this.weight = weight;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public int getProfession() {
            return profession;
        }

        public void setProfession(int profession) {
            this.profession = profession;
        }

        public float getImpedance() {
            return impedance;
        }

        public void setImpedance(float impedance) {
            this.impedance = impedance;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        @Override
        public String toString() {
            return "ResultDataBean{" +
                    "userId=" + userId +
                    ", nickName='" + nickName + '\'' +
                    ", email='" + email + '\'' +
                    ", height=" + height +
                    ", weight=" + weight +
                    ", birthday='" + birthday + '\'' +
                    ", sex=" + sex +
                    ", profession=" + profession +
                    ", impedance=" + impedance +
                    ", createDate='" + createDate + '\'' +
                    ", updateDate='" + updateDate + '\'' +
                    ", targetWeight=" + targetWeight +
                    '}';
        }
    }
}
